 
  <!-- Fixed navbar -->
    <div class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="@{Application.index()}">WebDiet</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            
            <li class="active"><a href="@{Application.index()}"><span class="glyphicon glyphicon-home"></span> Home</a></li>
            
            #{if !session.pessoa}
            <li><a href="">About</a></li>
            <li><a href="">Contact</a></li>
            <li class="dropdown">
              <a href="" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="">Action</a></li>
                <li><a href="">Another action</a></li>
                <li><a href="">Something else here</a></li>
                <li class="divider"></li>
                <li class="dropdown-header">Nav header</li>
                <li><a href="">Separated link</a></li>
                <li><a href="">One more separated link</a></li>             
              </ul>
            </li>
            #{/if}
          </ul>
          <ul class="nav navbar-nav navbar-right">
          #{if session.pessoa}
          
            <li><label>${session.pessoa}</label></li>
            
            <li><a href="@{Login.logout()}" onclick="return confirm('Tem certeza que deseja sair da aplicação?')"><button class="btn btn-danger btn-xs"><span class="glyphicon glyphicon-off"></span>   Logout</button></a></li>
            #{/if}
            #{else}
            <li><a href="@{Login.index()}"><button class="btn btn-success btn-xs"><span class="glyphicon glyphicon-plus-sign"></span>   Login</button></a></li>
          	#{/else}
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>